<script type="text/javascript">

</script>

<div id="page_content">
    <?php if (!isset($this->formdata)) { ?>
    <h2><?php echo $this->t->_("New reference") ?></h2>
    <?php } else { ?>
    <h2><?php echo $this->formdata['title'] ?></h2>
    <?php } echo $this->form ?>
</div>

<div id="sidebar">
    <?php if (isset($this->formdata)) { ?>
    <br /><a href="#" id="<?php echo ADMIN_URL.'/references/delete/id/'.$this->formdata['id'] ?>" class="sidebar_button delete_button"><?php echo $this->t->_("Delete reference") ?></a>
    <?php } ?>
</div>

